package com.awonsome.admin.boot.pojo.vo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 树形下拉视图对象
 *
 * @author yangdejun
 * @date 2022/1/23 22:10
 */
@Data
@NoArgsConstructor
public class TreeSelectVO {

    public TreeSelectVO(Long id, String label) {
        this.id = id;
        this.label = label;
    }

    private Long id;

    private String label;

    private List<TreeSelectVO> children;

}
